package org.sean.framework.bean;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 简单实体
 * ID - Name
 *
 * @author sean.xie
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@EqualsAndHashCode
@Schema(description = "ID-NAME")
public class IdName {
    @Schema(description = "ID")
    private Integer id;
    @Schema(description = "NAME")
    private String name;
}
